package sv.com.seguros.web.util;

import java.io.Serializable;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Locale;

import org.apache.log4j.Logger;

public class WebUtilidadesConstants implements Serializable{

	private static final long serialVersionUID = -2013584782054364210L;
	static {
		Locale.setDefault(Locale.ENGLISH);
	}
	public static final Logger logger = Logger.getLogger(WebUtilidadesConstants.class);
	public static final SimpleDateFormat dateFormatAsYYYYMMDDHHMMSS = new SimpleDateFormat("yyyyMMddHHmmss");
	public static final SimpleDateFormat dateFormatAsYYYYMMDD = new SimpleDateFormat("yyyyMMdd");
	public static final SimpleDateFormat dateFormatAsDD_MM_YYYY = new SimpleDateFormat("dd/MM/yyyy");
	public static final SimpleDateFormat dateFormatAsMMM = new SimpleDateFormat("MMM", new Locale("es"));
	public static final DecimalFormat decimalFormat2Decimals = new DecimalFormat("#0.00");
	public static final DecimalFormat decimalFormatCurrency = new DecimalFormat("#,##0.0#");
	
	public static final String PDF_ERROR = "<h1>PROBLEMAS AL GENERAR EL DOCUMENTO</h1>";
	public static final String CELLBORDER = "border-width=\"0.3pt\" border-style=\"solid\" border-left-color=\"black\" border-top-color=\"black\" border-right-color=\"black\" border-bottom-color=\"black\" padding=\"2pt\"";
	public static final String CELLBORDER_NR = "border-width=\"0.3pt\" border-style=\"solid\" border-left-color=\"black\" border-top-color=\"black\" border-right-color=\"white\" border-bottom-color=\"black\"";
	public static final String CELLBORDER_NL = "border-width=\"0.3pt\" border-style=\"solid\" border-left-color=\"white\" border-top-color=\"black\" border-right-color=\"black\" border-bottom-color=\"black\"";
	public static final String CELL_TITLE = "background-color=\"#DADADA\"";
	public static final String BLOCK_TITLE = "color= \"#981E32\" font-weight= \"bold\" text-align=\"center\"";
	public static final String FONT = "font-family=\"Helvetica\" font-size=\"9pt\" padding=\"2pt\"";
	public static final String FONT_TITLE = "line-height=\"16pt\" font-size=\"20pt\" text-align=\"center\" font-weight= \"bold\" color= \"#981E32\" ";
	
	public static final String HEADER_TITLE = "headerTitle";
	public static final String DEFAULT_ERROR_MESSAGE = "Procesamiento Incorrecto";
	
	public static final String APPLICATION_DAOS_ID = "applicationDaos";
	public static final String APPLICATION_SERVICES_ID = "applicationServices";
	public static final String PASSWORD_ENCODER_ID = "passwordEncoder";
	public static final String DAO_QUERIES_LOCATION = "queries";
	public static final String DOCUMENTS_LOCATION = "documents";
	public static final String DEFAULT_WEB_ENCODING = "ISO-8859-1";
	
	public static final String BASE_DAO_KEY = "baseDaoKey";
	
	public static final String ASG_ABONO_DAO_KEY = "asgAbonoDaoKey";
	public static final String ASG_CLIENTE_DAO_KEY = "asgClienteDaoKey";
	public static final String ASG_CONTACTO_DAO_KEY = "asgContactoDaoKey";
	public static final String ASG_PAGO_DAO_KEY = "asgPagoDaoKey";
	public static final String ASG_POLIZA_DAO_KEY = "asgPolizaDaoKey";
	public static final String ASG_PENDIENTE_DAO_KEY = "asgPendienteDaoKey";
	public static final String ASG_RECLAMO_DAO_KEY = "asgReclamoDaoKey";
	public static final String ASG_REPORTE_DAO_KEY = "asgReporteDaoKey";
	public static final String ASG_SEGUIMIENTO_DAO_KEY = "asgSeguimientoDaoKey";
	public static final String ASG_VENTA_DAO_KEY = "asgVentaDaoKey";
	
	public static final String CTG_ASEGURADORA_DAO_KEY = "ctgAseguradoraDaoKey";
	public static final String CTG_ASESOR_DAO_KEY = "ctgAsesorDaoKey";
	public static final String CTG_CATALOGO_DAO_KEY = "ctgCatalogoDaoKey";
	public static final String CTG_COLONIA_DAO_KEY = "ctgColoniaDaoKey";
	public static final String CTG_MUNICIPIO_DAO_KEY = "ctgMunicipioDaoKey";
	public static final String CTG_PLAN_DAO_KEY = "ctgPlanDaoKey";
	
	public static final String SGD_USUARIO_DAO_KEY = "sgdUsuarioDaoKey";
	
	public static final String ASG_CLIENTE_SERVICE_KEY = "asgClienteServiceKey";
	public static final String ASG_CONTACTO_SERVICE_KEY = "asgContactoServiceKey";
	public static final String ASG_PAGO_SERVICE_KEY = "asgPagoServiceKey";
	public static final String ASG_POLIZA_SERVICE_KEY = "asgPolizaServiceKey";
	public static final String ASG_PENDIENTE_SERVICE_KEY = "asgPendienteServiceKey";
	public static final String ASG_RECLAMO_SERVICE_KEY = "asgReclamoServiceKey";
	public static final String ASG_VENTA_SERVICE_KEY = "asgVentaServiceKey";
	public static final String SGD_USUARIO_SERVICE_KEY = "sgdUsuarioServiceKey";
	
	public static final String SGD_ROLE_USUARIO_CODIGO = "00003";
	
	public static final String SGD_ROLES_PADRE = "00002";
	public static final String CTG_FORMA_PAGO_PADRE = "00009";
	public static final String CTG_FORMA_PAGO_ABONO_PADRE = "00040";
	public static final String CTG_LUGAR_PAGO_PADRE = "00044";
	public static final String CTG_TIPO_CONTANTO_PADRE = "00047";
	public static final String CTG_CLASIFICACION_EMRESA_PADRE = "00012";
	public static final String CTG_DEPARTAMENTOS_PADRE = "00014";
	public static final String CTG_TIPO_CLIENTE_PADRE = "00016";
	public static final String CTG_TIPO_SEGUROS_PADRE = "00019";
	public static final String CTG_TIPO_PERSONA_PADRE = "00022";
	public static final String CTG_TIPO_CUENTA_PADRE = "00025";
	public static final String CTG_ESTADO_CIVIL_PADRE = "00087";
	public static final String CTG_PROFESION_PADRE = "00088";
	
	public static final String CTG_TIPO_PERSONA_NATURAL = "00023";
	public static final String CTG_TIPO_PERSONA_JURIDICA = "00024";
	
	public static final String ROLE_CLIENTE_POLIZA = "ROLE_CLIENTE_POLIZA";
	public static final String ROLE_ABONO = "ROLE_ABONO";
	public static final String ROLE_RECLAMO = "ROLE_RECLAMO";
	public static final String ROLE_PENDIENTE = "ROLE_PENDIENTE";
	public static final String ROLE_VENTA = "ROLE_VENTA";
	public static final String ROLE_RENOVACION = "ROLE_RENOVACION";

}
